package com.simple.llm.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@Data
@ConfigurationProperties("llm")
public class LLMProperties {
    private List<GptProperties> gptList;
    @Data
    public static class GptProperties{
        private String interfaceName;
        private List<String> apiKeys;
        private String apiHost;
        private String proxyIp;
        private Integer proxyPort;
        private Integer timeout;
        private Integer maxContextTokens;
        private String modelName;
        private Boolean defaultLLM;
        // 流式输出超时时间
        private Long streamTimeOut;
        // 特殊key，比如豆包的接入点
        private String specialKey;
    }
}
